package com.ejustcn.vaadinecharts.chart.component;

public class Title {
	public final static String TEXTALIGN_LEFT="left";
	public final static String TEXTALIGN_RIGHT="right";
	public final static String TEXTALIGN_CENTER="center";
	
	
	public String text=null;
	public String subtext=null;
	public String textAlign=null;
	
	public float itemGap=10;  // gap between text and subtext
	
	public String borderColor=null; // default is "#ccc";
	public float borderWidth=0f;
	public float padding=5;
	
	/*default textStyle
	 * {
		fontSize: 18, 
		fontWeight: 'bolder', 
		color: '#333'
		}
	*/
	public String textStyle=null; 
		
	public String subtextStyle=null; // default {color: '#aaa'}
	
	//public number x      can be number or string 
	//public number y          
	
	//public backgroundColor  is a color object
	
}
